﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Editing;

namespace EasyVideo {
    public class VideoClip : INotifyPropertyChanged {
        public event PropertyChangedEventHandler PropertyChanged;
        protected virtual void OnPropertyChanged(string name) {
            this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
        }

        //视频
        private MediaClip _Clip;
        public MediaClip Clip {
            get { return _Clip; }
            set {
                _Clip = value;
                OnPropertyChanged(nameof(this.Clip));
            }
        }

        //视频文件名
        private string _Title;
        public string Title {
            get { return _Title; }
            set {
                _Title = value;
                OnPropertyChanged(nameof(this.Title));
            }
        }

        //视频路径
        private string _Path;
        public string Path {
            get { return _Path; }
            set {
                _Path = value;
                OnPropertyChanged(nameof(this.Path));
            }
        }
    }
}
